﻿<%@ Page Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true"
    CodeFile="AllCourseList.aspx.cs" Inherits="Theme_DL_AllCourseList" Title="课程菜单" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="new_01">
        <div class="position">
            首页 &gt;&gt; 课程菜单</div>
        <div class="my_calss">
            <div class="jyzx3_01">
                <ul>
                    <li>
                        <asp:DropDownList ID="ddl_Catalog" runat="server">
                        </asp:DropDownList>
                        &nbsp;
                        <asp:TextBox ID="txt_KeyWord" runat="server"></asp:TextBox>
                        <asp:Button ID="Button1" runat="server" class="inputBotton2" OnClick="btn_seach_Click"
                            Text="搜索" />
                    </li>
                </ul>
                <asp:Repeater ID="rptCourse" runat="server">
                    <HeaderTemplate>
                        <table width="727" cellpadding="0" cellspacing="5">
                            <tr>
                                <td width="164" bgcolor="#eeeeee">
                                    <div align="center">
                                        <strong>课程名称</strong></div>
                                </td>
                                <td width="158" bgcolor="#eeeeee">
                                    <div align="center">
                                        <strong>专业名称</strong></div>
                                </td>
                                <td width="141" bgcolor="#eeeeee">
                                    <div align="center">
                                        <strong>主讲</strong></div>
                                </td>
                                <td width="107" bgcolor="#eeeeee">
                                    <div align="center">
                                        <strong>资源总数</strong></div>
                                </td>
                                <%--<td width="125" bgcolor="#eeeeee">
                                    <div align="center">
                                        <strong>课程状态</strong></div>
                                </td>--%>
                            </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td bgcolor="<%#Eval("bg")%>">
                                <div align="center">
                                    <asp:Label ID="lblid" runat="server" Text='<%#Eval("CatalogcouID")%>' Visible="False"></asp:Label>
                                    <asp:Label ID="lbl_courseid" runat="server" Text='<%#Eval("Course_Id")%>' Visible="False"></asp:Label>
                                    <%#Eval("CourseName")%>
                                    &nbsp;
                                </div>
                            </td>
                            <td bgcolor="<%#Eval("bg")%>">
                                <div align="center">
                                    <%#Eval("CatalogName")%>
                                    &nbsp;
                                </div>
                            </td>
                            <td bgcolor="<%#Eval("bg")%>">
                                <div align="center">
                                    <%#Eval("CourseMostlyTeacherName")%>
                                    &nbsp;
                                </div>
                            </td>
                            <td bgcolor="<%#Eval("bg")%>">
                                <div align="center">
                                    <%#Eval("CourseResourceNum")%>
                                    &nbsp;
                                </div>
                            </td>
                            <%--<td bgcolor="<%#Eval("bg")%>">
                                <div align="center">
                                    <%#opCourse.GetCourseStateByData(int.Parse(Eval("CourseState").ToString()), GetLanageValueByKey("State_Msg2", PowerCreator.LMS.Language.LanagetItemType.Page), GetLanageValueByKey("AddCourseInfo_db_d2", PowerCreator.LMS.Language.LanagetItemType.Page))%>
                                    &nbsp;
                                </div>
                            </td>--%>
                            <%--<td>
                                    <asp:LinkButton ID="lnkbtn_editor" runat="server" CommandName="leditor" CommandArgument='<%#Eval("Course_Id")%>'> 查看&nbsp;
                        <!--编辑--></asp:LinkButton>
                                   
                                    <asp:Label ID="lbl_msg" runat="server" Text="" ForeColor="Red"></asp:Label>
                                </td>--%>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </div>
            <ul>
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center" OnPageChanged="AspNetPager1_PageChanged"
                    ShowCustomInfoSection="right" Width="100%" meta:resourceKey="AspNetPager1" InputBoxStyle="width:19px"
                    FirstPageText="<li>首页</li>" LastPageText="<li>未页</li>" NextPageText="<li>下一页</li>"
                    PrevPageText="<li>上一页</li>">
                </webdiyer:AspNetPager>
            </ul>
        </div>
    </div>
</asp:Content>
